Skip to content

Conversation

@PaulGD03
Copy link
Member

WIP

…ess UI

Introduce OrionUpdateProvider which exposes progress and message ValueNotifiers
and presents a modal UpdateProgressOverlay during updates. Provider locates the
Orion installation root (env, cwd/executable ancestors, common locations),
downloads update assets into a temp workspace with streamed progress reporting,
extracts into a new folder, generates and runs an install script that backs up
the current install, moves the new files, fixes permissions and restarts the
service. Includes a macOS simulation path and defensive cleanup/error logging.
Add a full-screen GlassApp overlay that displays update progress and messages.
Includes a pulsing status icon, animated LinearProgressIndicator (driven by a
ValueListenable<double> with smooth tween animation), and a bottom message
driven by a ValueListenable<String>.
…ove local updater

- Add launchUpdateDialog confirmation UI that calls Provider.of<OrionUpdateProvider>.performUpdate(...)
- Use configurable repo (overrideRepo) for GitHub API URLs instead of hardcoded owner
- Wire update buttons to the new dialog, adjust button tints and update related UI text/TODO
… robustly parse version/commit/date

- Use trimmed overrideRepo with fallback to 'Open-Resin-Alliance' and log chosen repo.
- When firmware spoofing (force update) and a non-default release is set, fetch that release's pre-release info.
- Make commit/version parsing safer (guard when + not present) and improve UI strings to handle timestamps or missing build metadata.
…ript defensive

- a previous version of this code will possibly wipe your home directory, if orion is installed there.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants